Signed-off-by: Jody Belka <knew (at) pimb (dot) org>
return rc;
}
+int xc_domain_ioport_permission(int xc_handle,
+ uint32_t domid,
+ uint16_t first_port,
+ uint16_t nr_ports,
+ uint16_t allow_access)
+{
+ dom0_op_t op;
+
+ op.cmd = DOM0_IOPORT_PERMISSION;
+ op.u.ioport_permission.domain = (domid_t)domid;
+ op.u.ioport_permission.first_port = first_port;
+ op.u.ioport_permission.nr_ports = nr_ports;
+ op.u.ioport_permission.allow_access = allow_access;
+
+ return do_dom0_op(xc_handle, &op);
+}
+
/*
* Local variables:
* mode: C
unsigned int extent_order,
unsigned long *extent_start);
+int xc_domain_ioport_permission(int xc_handle,
+ uint32_t domid,
+ uint16_t first_port,
+ uint16_t nr_ports,
+ uint16_t allow_access);
+
unsigned long xc_make_page_below_4G(int xc_handle, uint32_t domid,
unsigned long mfn);